package com.example.beautymakeup.service;

import com.example.beautymakeup.domain.PageBean;
import com.example.beautymakeup.domain.Result;
import com.example.beautymakeup.pojo.Hot;
import com.example.beautymakeup.pojo.Order;

public interface OrderService {
    PageBean<Order> getByUserId(String token  ) throws Exception;

    Order getByUid(String token,int uid  ) throws Exception;

    PageBean<Order> getAll(String token,int page, int size) throws Exception;

    PageBean<Order> getByStatus(String token,int status,int page, int size) throws Exception;


    boolean update(String token,Order order) throws Exception;

    boolean refund(String token,Order order) throws Exception;

    boolean add(String token,Order order) throws Exception;

    Result queryDouyinOrder( String orderNo) throws Exception;

}
